package com.woniuxy.carlife.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @author fx
 * @ClassName:ServiceGoodPriceParam
 * @Description: 修改商品价格的参数VO类
 * @date 2021/4/7 23:01
 **/

@Data
@ApiModel(value = "修改商品价格的参数类")
public class ServiceGoodPriceParam {

    @NotNull(message="商品id不能为空")
    @ApiModelProperty(value = "商品id")
    private Integer goodId;

    @NotNull(message="商品价格不能为空")
    @ApiModelProperty(value = "商品价格")
    private BigDecimal price;
}
